package cn.ryh.po;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * @ClassName TestDiByConstructor
 * @Description 用于测试通过有参构造方法注入
 * @Author RaoYH
 */
public class TestDiByConstructor {
    private String name;
    private User user;
    private Integer[] arrary;
    private List<Integer> list;
    private Map<String,User> map;

    public TestDiByConstructor(String name, User user, Integer[] arrary, List<Integer> list, Map<String, User> map) {
        this.name = name;
        this.user = user;
        this.arrary = arrary;
        this.list = list;
        this.map = map;
    }

    @Override
    public String toString() {
        return "TestDiByConstructor{" +
                "name='" + name + '\'' +
                ", user=" + user +
                ", arrary=" + Arrays.toString(arrary) +
                ", list=" + list +
                ", map=" + map +
                '}';
    }
}
